var express=require('express');
var jade=require('jade');
var app=express();
var port=process.env.PORT||4000;
app.use(express.static('public'));
app.set('views','./Views/');
app.set('view engine','jade');
app.listen(port);
console.log('start port:'+port);

app.get('/',function(req,res){
  res.render('index',{title:"首页Index"});
});

app.use('/Book',require('./Router/Books'));
